package ai.basic;
import java.io.Serializable;

public class Fact implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Pattern pattern;
	private Action action;
	public Action getAction() {
		return action;
	}
	public void setAction(Action action) {
		this.action = action;
	}
	public Pattern getPattern() {
		return pattern;
	}
	public void setPattern(Pattern pattern) {
		this.pattern = pattern;
	}
	public String toString(){
		return pattern.toString()+" -> "+action.toString();
	}
}
